{extend name="public:head"}
{block name="main"}

<form class="layui-form" action="/admin/Grade/post_add_grade" method="POST">


    <div class="layui-form-item">
        <label class="layui-form-label">推广等级</label>
        <div class="layui-input-inline" style="width:350px;">
            <input type="text" name="grade_name"  lay-verify="required" placeholder="推广等级" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">提示</label>
        <div class="layui-input-inline" style="width:350px;">
            <input type="text" name="input_value"  lay-verify="required" placeholder="提示" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="checkbox" name="status" lay-skin="switch" lay-text="启用|禁用" lay-filter="switchTest" value="1" checked=''>
            <div class="layui-unselect layui-form-switch" lay-skin="_switch">
                <em>OFF</em><i></i>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="formDemo">提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>

</form>

<script type="text/javascript">



    layui.use(['form','layedit','upload'], function(){
        var form = layui.form
        var upload  = layui.upload;
    });

</script>

{/block}